package com.thz.houserental.infrastructure.exception;


import com.thz.houserental.infrastructure.CommonConstant;
import lombok.Data;
import org.springframework.http.HttpStatus;

@Data
public class TokenExpiredException extends HttpException {
    public TokenExpiredException() {
        this.code = HttpStatus.UNAUTHORIZED.value();
        this.message = CommonConstant.TOKEN_EXPIRED;
    }
}
